package com.pms.common.enums;

/**
 * 用户状态
 * 
 * @author 达瓦里氏
 */
public enum RoomStatus
{
    LEISURE("LEISURE", "空闲"),
    RESERVED("RESERVED", "已预订"),
    CHECKEDIN("CHECKED_IN", "已入住"),
    OUTOFTIME("OUT_OF_TIME", "已超时"),
    CHECKEDOUT("CHECKED_OUT", "已退房");

    private final String code;
    private final String info;

    RoomStatus(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
